import 'package:get/get.dart';
import 'package:xinxuan/http/http_util_service.dart';
import 'package:xinxuan/vo/bank_card_list_vo.dart';
import 'package:xinxuan/vo/common_vo/common_bank_card_item_vo.dart';

class PayBankListPageController extends GetxController {

  var dataArr = <CommonBankCardItemVo>[].obs;
  
  @override
  void onReady() {
    getPayBankList();
    super.onReady();
  }

  getPayBankList() async {
    BankCardListVo payBankListVo = await HttpUtilService.getPayBankList();
    dataArr.value = payBankListVo.data!;
    update();
  }


}